<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%@ include file="/WEB-INF/page/include/taglib.jsp" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>洋码头 - 让人放心的海外购物社区货</title>
<link href="//static.ymatou.com/content/assets/wharf.2016071901.css"
	rel="stylesheet" type="text/css">
<link href="//s2.ymatou.com/ordercenter/orders.55ac422.css"
	rel="stylesheet" type="text/css">
	     <script>
        var ctx = "${ctx}";
    </script>
</head>
<body>
	<link href="//s2.ymatou.com/top/common.9b786ce.css" rel="stylesheet"
		type="text/css">
	<link href="//s2.ymatou.com/top/topbar.201a877.css" rel="stylesheet"
		type="text/css">

	<div class="topbar global-wrap">
		<div class="inner">
			<div class="topnar-fl">
				<a href="/">Hi，欢迎来到洋码头！</a> <span class="user-type"
					style="padding-left: 10px; display: inline-block;"> <a
					href="//seller.ymatou.com/Seller" target="_blank">我是买手</a>
				</span>
			</div>
			<ul class="nav topbar-fr">

				<li class="nav-item" id="topbarLoginUser"
					onmouseover="javascript: $('.topbar .dropdownlist').css('display', 'block');"
					onmouseout="javascript: $('.topbar .dropdownlist').css('display', 'none');">
					<a href="#" class="downmenu"><span class="title"
						title="chenjiaxiang">chenjiaxiang</span><i class="arrow-bt"></i></a>
					<div class="dropdownlist"
						style="width: 72px; right: 2px; left: auto;">
						<a
							href="${ctx}/jsp/userLogin.jsp"
							id="logoutId">退出登录</a>
					</div>
				</li>

				<li class="nav-item"><a href="${ctx}/cart/getAllShoppingcart"
					target="_blank"><span class="title">购物车</span></a></li>
				<li class="nav-item"><a href="${ctx }/my/MyTheorder"
					target="_blank"><span class="title">我的订单</span></a></li>
				<li class="nav-item"><a href="${ctx }/my/Mycenter"
					class="downmenu" target="_blank"><span class="title">个人中心</span>
					<!--<i class="arrow-bt"></i>--></a></li>
				<li class="nav-item" style="margin-left: -10px;"><a
					href="/home/rule" target="_blank"><span class="title">规则&amp;公告</span></a>
				</li>
				<!--<li class="nav-item">-->
				<!--<a href="http://evt.ymatou.com/activity_3135_pc?app_banner=home_page" target="_blank"><span class="title">手机洋码头</span></a>-->
				<!--</li>-->
			</ul>
		</div>
	</div>

	<div class="rightbar">
		<ul class="rightbar-inner" style="padding: 270px 0 0;">
			<li class="item user"><a href="${ctx }/my/Mycenter"
				target="_blank" title="我"><i class="rightbar-icon rti-user"></i></a>
			</li>
			<li class="item"><a href="${ctx}/cart/getAllShoppingcart"
				style="padding-bottom: 2px;" target="_blank" title="购物车"> <i
					class="rightbar-icon rti-cart"></i><span class="title">购<br>物<br>车
				</span> <em class="tips" style="display: none;">10</em>

			</a></li>
			<li class="item"><a style="padding-bottom: 2px;"
				onmouseover="$(&quot;#qrcodeContainer&quot;).show();"
				onmouseout="$(&quot;#qrcodeContainer&quot;).hide();" title="二维码"><i
					class="rightbar-icon rti-code"></i></a>
				<div id="qrcodeContainer"
					style="display: none; position: absolute; top: 0; left: -102px; z-index: 1; width: 102px; height: 126px; background: #383838;">
					<img
						src="//pic1.ymatou.com/G02/M02/FB/5C/CgvUBFht9-CADvH8AAAW6VtgvkI439_62_63_w_o.png"
						title="洋码头二维码"
						style="width: 62px; height: 63px; display: block; margin: 10px auto;">
					<span>下载APP领取<br>260元新人礼包
					</span>
				</div></li>
			<li class="item"><a style="padding-bottom: 2px;"
				href="javascript:void(0)"
				onclick="javascript:document.documentElement.scrollTop = document.body.scrollTop =0"
				title="置顶"><i class="rightbar-icon rti-top"></i><span
					class="title">TOP</span></a></li>
		</ul>
	</div>
	<script type="text/javascript" async=""
		src="https://dn-growing.qbox.me/vds.js"></script>
	<script async="" src="//www.google-analytics.com/analytics.js"></script>
	<script async="" src="//s1.ymatou.com/bpm/build/gtm/1.3.6/detection.js"></script>
	<script type="text/javascript">
  $(function () {
    var locationUrl = location.href;
    //设置登录后返回Url
    if (location.href.toLowerCase().indexOf("login") == -1) {
      var login = $("[href='/login?ret=']");
      if (login != null) {
        login.attr("href", login.attr("href") + locationUrl);
      }
    }
    var logout = $(".topbar #logoutId");
    if (
      logout &&
      locationUrl.indexOf("/my/") == -1 &&
      locationUrl.substring(locationUrl.length - 3).toLowerCase() != "/my"
    ) {
      logout.attr("href", logout.attr("href") + "?ret=" + locationUrl);
    }
  });
</script>

	<script src="//s2.ymatou.com/top/common.8778e94.js" charset="utf-8"
		type="text/javascript"></script>


	<div class="mainer global-wrap">
		<div class="inner">
			<div class="seller-center-side">
				<div class="side-hd">
					<h3 class="title">
						<i class="blackfive-icon bi-user"></i><span class="txt"><a
							href="${ctx }/my/Mycenter">个人中心</a></span>
					</h3>
				</div>
				<div class="side-bd">
					<div class="side-item">
						<h3 class="title">
							<em class="square"></em>服务查询
						</h3>
						<ul class="side-list">
							<li class="active"><a href="${ctx }/my/MyTheorder">我的订单</a></li>
							<li><a href="/my/mycoupons">我的优惠券</a></li>
						</ul>
					</div>
					<div class="side-item">
						<h3 class="title">
							<em class="square"></em>账户管理
						</h3>
						<ul class="side-list">
							<li><a href="${ctx}/security/Mysecurity">安全中心</a></li>
							<li><a href="${ctx }/my/Myaddress">管理收货地址</a></li>
							<li><a href="/my/withdrawal">提现</a></li>
						</ul>
					</div>
					<div class="side-item">
						<h3 class="title">
							<em class="square"></em>关注中心
						</h3>
						<ul class="side-list">
							<li><a href="${ctx }/my/MyCollection">我的收藏</a></li>
						</ul>
					</div>
				</div>
			</div>
			<div class="seller-center-r">
				<script async=""
					src="//www.googletagmanager.com/gtm.js?id=GTM-5PJKS5"></script>
				<script src="//s2.ymatou.com/ordercenter/orders.8ef10a1.js"></script>



				<ul class="seller-center-tab">
					<li class="item"><a onclick="location='${ctx}/my/MyTheorder';return false" href="#">全部订单<em
							class="number"></em></a><em class="line"></em></li>
					<!-- <li class="item"><a href="#pay" data-id="1">待付款<em
							class="number J_lbl_wait"></em></a><em class="line"></em></li> -->
					<li class="item"><a onclick="location='${ctx}/my/MyTheorder1';return false" href="#">待接单<em
							class="number J_lbl-receive"></em></a><em class="line"></em></li>
					<li class="item active"><a onclick="location='${ctx}/my/MyTheorder2';return false" href="#">待收货<em
							class="number J_lbl-confirm"></em></a><em class="line"></em></li>
					<!-- <li class="item"><a href="#vote" data-id="4">待评价<em
							class="number J_lbl-vote">0</em></a><em class="line"></em></li> -->
				</ul>
				<table class="order-table-th">
					<tbody>
						<tr>
							<th class="product-info">商品</th>
							<th class="price">单价(元)</th>
							<th class="count">数量</th>
							<th class="product-operate">商品操作</th>
							<th class="sum">合计 (元)</th>
							<th class="trade-type">交易状态</th>
							<th class="order-operate">操作</th>
						</tr>
					</tbody>
				</table>
				<ul class="order-lists" style="display: block;">


					<!--<li class="order-item ">-->
<c:forEach items="${Alltheorder2 }" var="daishouhuo">
					<li class="order-item">
						<div class="order-hd">
							<span class="time">${daishouhuo.theorder_time }</span> <span
								class="order-number">订单号：${daishouhuo.theorder_id }</span> <a
								href="/sellerhome/38569239" target="_blank" class="seller">
								<span class="avator"><img
									src="http://pic1.ymatou.com/G03/M09/13/D3/CgzUIF8lKgOAHv-fAAEujCTqy0I584_1_1_o.jpg"></span>
								<span class="name">娜娜澳洲购</span>
							</a> <a class="blackfive-icon bi-seller"
								href="javascript:window.open('/product/imyy/dialog?sellerId=38569239&amp;sellerName=娜娜澳洲购', 'imyy', 'toolbar=no,directories=no,status=no, menubar=no, width=560,height=640');"></a>
						</div>
						<div class="order-bd">

							<div class="ob-item">
								<dl class="product-info">
									<dt class="pi-img">
										<a href="/product/p7393641.html" target="_blank"><img
											src="${daishouhuo.product_maingraph }"
											width="80" height="80"></a>


									</dt>
									<dd class="pi-info">
										<p class="pi-name">
											<em class="pi-type">包邮包税</em>${daishouhuo.product_name }
										</p>
										<div class="pi-attribute">
											<span>口味分类:${daishouhuo.product_color }</span>
                           					 <input value="${daishouhuo.theorder_id }" type="hidden" id="theorder_id"/>
										</div>
										<p class="pi-icon">
											<!-- TODO: enum prod.devliveryType-->
											<span>境外发货</span>
											<!-- TODO: enum prod.refundType-->
											<span><i class="logistics-icon li-tuihuo" data-r="1"></i>本土退货</span>

											<span><i class="logistics-icon li-seven"></i>七天无理由退货</span>


										</p>
									</dd>
								</dl>
								<div class="price">

									<p class="current-price">${daishouhuo.color_price }</p>
									<!-- TODO enum prod.priceType -->


								</div>
								 <div class="count">${daishouhuo.product_quantity }</div>
								<!--全款模式-->
								<div class="product-operate"></div>
							</div>

							<div class="other-info">
								<div class="sum">
									<div class="other-info-inner">
										  <p class="total">${daishouhuo.theorder_money }</p>
										<div class="total-info" style="display: none">
											<i></i> <span class="total-item">商品金额:<em
												class="item-sum">null</em></span> <span class="total-item">运费:<em
												class="item-sum">0</em></span>
											<!-- <span class="total-item">买手调价:<em class="item-sum">10.00</em></span> -->
										</div>


									</div>
								</div>
								<div class="trade-type">
									<div class="other-info-inner">
										<p class="status">待收货</p>

										<p>
											<a href="/ordercenter/info?orderid=1230030659"
												target="_blank">订单详情</a>
										</p>





									</div>
								</div>
								<div class="order-operate">
									<!-- TODO: enum order.stateCode -->
									<div class="other-info-inner"><p class="payment J-payment" data-operationid="1517790659">
                      
                            <a class=" " onclick="updateItem(${daishouhuo.theorder_id },${daishouhuo.theorder_state })">收货</a>
                         
                     <%--    <c:if test="${allorder.theorder_state } == 1">
                            <a href="/shopping/payment?orderid=1517790659&amp;pageType=0">收货</a>
                            </c:if>
                        <c:if test="${allorder.theorder_state } == 3">
                            <a href="/shopping/payment?orderid=1517790659&amp;pageType=0">去付款</a>
                            </c:if>
                        <c:if test="${allorder.theorder_state } == 4">
                            <a href="/shopping/payment?orderid=1517790659&amp;pageType=0">完成</a>
                            </c:if> --%>
                        </p>
                        </div>
								</div>
							</div>
						</div>



					</li>
</c:forEach>

				</ul>
				<div class="loading-more J_mod-like" style="display: none;">查看更多订单</div>
				<div class="loading-end" style="display: block;">
					<span class="title">刷完了</span>
				</div>
				

				<div class="pop-windows" id="cancelOrder"
					style="display: none; left: 20px; top: 260px">
					<div class="pop-wrap">
						<i class="blackfive-icon bi-close J-close"></i>
						<div class="pop-hd">
							<h3 class="title">取消订单</h3>
						</div>
						<div class="pop-bd">
							<div class="pop-message">
								<i class="blackfive-icon bi-wraning"></i>
								<p class="message-tips">
									您确定要取消该订单吗？<br>取消订单后，不能恢复。
								</p>
							</div>
							<div class="cancel-reason">
								<label>选择取消原因:</label> <select class="J_reason-cancel">
									<option value="0">请选择取消原因</option>
									<option value="1">重复购买</option>
									<option value="2">拍错了</option>
									<option value="3">不想要了</option>
									<option value="4">不能使用红包优惠券</option>
									<option value="5">买手缺货</option>
								</select>
							</div>
							<input type="hidden" id="reason">
						</div>
						<div class="pop-ft">
							<button class="pop-btn btn-primary" disabled=""
								id="cancel-order-btn">确定</button>
							<button class="pop-btn J-close">取消</button>
						</div>
					</div>
				</div>
				<!--确认收货-->
				<div class="pop-windows" id="confirmOrder"
					style="display: none; left: 400px; top: 260px">
					<div class="pop-wrap">
						<i class="blackfive-icon bi-close J-close"></i>
						<div class="pop-hd">
							<h3 class="title">确认收货</h3>
						</div>
						<div class="pop-bd">
							<div class="pop-message">
								<i class="blackfive-icon bi-wraning"></i>
								<p class="message-tips">
									确认收货后，货款会打给卖家，<br>您确认要继续吗？
								</p>
							</div>
						</div>
						<div class="pop-ft">
							<button class="pop-btn btn-primary" id="confirm-order-btn">继续</button>
							<button class="pop-btn J-close">取消</button>
						</div>
					</div>
				</div>
				<!--服务评分-->
				<div class="pop-windows" id="evaluateOrder"
					style="display: none; left: 20px; top: 500px">
					<div class="pop-wrap">
						<i class="blackfive-icon bi-close J-close"></i>
						<div class="pop-hd">
							<h3 class="title">为本次交易评分</h3>
						</div>
						<div class="pop-bd">
							<div class="appraise">
								<span class="item"><i class="blackfive-icon bi-start"></i></span>
								<span class="item"><i class="blackfive-icon bi-start"></i></span>
								<span class="item"><i class="blackfive-icon bi-start"></i></span>
								<span class="item"><i class="blackfive-icon bi-start"></i></span>
								<span class="item"><i class="blackfive-icon bi-start"></i></span>
								<input type="hidden" id="point">
							</div>
						</div>

						<div class="pop-ft">
							<button class="pop-btn btn-primary" disabled=""
								id="evaluate-order-btn">提交</button>
						</div>
					</div>
				</div>
				<!--延迟收货时间-->
				<div class="pop-windows" id="delayreceiveOrder"
					style="display: none; left: 1200px; top: 260px">
					<div class="pop-wrap">
						<i class="blackfive-icon bi-close J-close"></i>
						<div class="pop-hd">
							<h3 class="title">延长收货时间</h3>
						</div>
						<div class="pop-bd">
							<div class="pop-message">
								<i class="blackfive-icon bi-wraning"></i>
								<p class="message-tips">
									哈尼，只能延迟收货一次哦,<br>延迟天数<em class="delayReceiveDays"></em>天
								</p>
							</div>
						</div>

						<div class="pop-ft">
							<button class="pop-btn btn-primary" id="delayreceive-order-btn">确认延迟收货</button>
							<button class="pop-btn J-close">取消</button>
						</div>
					</div>
				</div>
				<!--上传身份证-->
				<div class="pop-windows pop-upload-identity" id="uploadIdentity"
					style="width: 430px; display: none; left: 20px; top: 0">
					<div class="pop-wrap">
						<i class="blackfive-icon bi-close J-close"></i>
						<div class="pop-hd">
							<h3 class="title">上传身份证</h3>
						</div>
						<div class="pop-bd">
							<div class="upload-identity">
								<div class="item first">
									<p class="txt">
										<i class="blackfive-icon bi-step"></i>方法一：
									</p>
									<p>step1：打开微信扫码，关注洋码头服务号；</p>
									<img class="service-img" alt="">
									<p>
										step2：点击服务号下方菜单<br>【个人中心】→【我的订单】→【上传身份证】
									</p>
								</div>
								<div class="item">
									<p class="txt">
										<i class="blackfive-icon bi-step"></i>方法二：
									</p>
									<a
										href="//evt.ymatou.com/activity_3135_pc?app_banner=home_page"
										target="_blank" class="go-app">下载洋码头APP上传身份证 &gt;</a>
								</div>
							</div>
						</div>
					</div>
				</div>
				<!--退货/退款-->
				<div class="pop-windows" id="J_confirmRefund"
					style="display: none; left: 400px; top: 260px">
					<div class="pop-wrap">
						<i class="blackfive-icon bi-close J-close"></i>
						<div class="pop-hd">
							<h3 class="title">退款/退货</h3>
						</div>
						<div class="pop-bd">
							<div class="pop-message">
								<i class="blackfive-icon bi-wraning"></i>
								<p class="message-tips">哈尼，目前PC暂不支付该功能，请到APP上操作哦~</p>
							</div>
						</div>
						<div class="pop-ft">
							<a class="pop-btn btn-primary"
								href="//evt.ymatou.com/activity_3135_pc?app_banner=home_page">下载APP</a>
							<button class="pop-btn J-close">取消</button>
						</div>
					</div>
				</div>
				<!--不支持的功能-->
				<div class="pop-windows" id="J_remind"
					style="display: none; left: 400px; top: 260px">
					<div class="pop-wrap">
						<i class="blackfive-icon bi-close J-close"></i>
						<div class="pop-hd">
							<h3 class="title">提示</h3>
						</div>
						<div class="pop-bd">
							<div class="pop-message">
								<i class="blackfive-icon bi-wraning"></i>
								<p class="message-tips">哈尼，目前PC暂不支付该功能，请到APP上操作哦~</p>
							</div>
						</div>
						<div class="pop-ft">
							<a class="pop-btn btn-primary"
								href="//evt.ymatou.com/activity_3135_pc?app_banner=home_page">下载APP</a>
							<button class="pop-btn J-close">取消</button>
						</div>
					</div>
				</div>
				<!--支付完成页面-->
				<div class="pop-windows" id="isCheckOutSuccess"
					style="display: none; left: 800px; top: 260px">
					<div class="pop-wrap">
						<i class="blackfive-icon bi-close J-close"></i>
						<div class="pop-hd">
							<h3 class="title">提示</h3>
						</div>
						<div class="pop-bd">
							<div class="pop-message">
								<i class="blackfive-icon bi-wraning"></i>
								<p class="message-tips">
									请在第三方支付页面完成付款,<br>付款完成前请不要关闭此窗口
								</p>
							</div>
						</div>
						<div class="pop-ft">
							<button class="pop-btn btn-primary" id="checkoutSuccess">我已付款成功</button>
							<button class="pop-btn" id="checkoutFailure">支付遇到问题，重新支付</button>
						</div>
					</div>
				</div>
				<div class="pop-windows" id="error-dialog"
					style="left: 800px; top: 260px; display: none;">
					<div class="pop-wrap">
						<i class="blackfive-icon bi-close J-close"></i>
						<div class="pop-hd">
							<h3 class="title">提示</h3>
						</div>
						<div class="pop-bd">
							<div class="pop-message">
								<i class="blackfive-icon bi-wraning"></i>
								<p class="message-tips">哎哟喂，网络出小差了，请稍后重试~</p>
							</div>
						</div>
						<div class="pop-ft">
							<button class="pop-btn btn-primary">确定</button>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div class="wrapper footer" module_name="user_guarantee">
		<div class="matou-server" style="padding: 10px 0; height: 60px">
			<a class="matou-server-link" style="color: #fff"
				href="/help/zhengpin.html" target="_blank"> <img
				src="">
			</a>
		</div>
		<div class="area">
			<div id="bottom_list" class="bottom_list">
				<ul class="dl">
					<li class="dt">购物指南</li>
					<li><a href="//help.ymatou.com/help_01.html" target="_blank"
						rel="nofollow">注册与登录</a></li>
					<li><a href="//help.ymatou.com/help_02.html" target="_blank"
						rel="nofollow">账户信息维护</a></li>
					<li><a href="//help.ymatou.com/help_05.html" target="_blank"
						rel="nofollow">购物流程</a></li>
					<li><a href="//help.ymatou.com/help_09.html" target="_blank"
						rel="nofollow">会员体系</a></li>
					<li><a href="//help.ymatou.com/help_01_1.html" target="_blank"
						rel="nofollow">常见问题</a></li>
				</ul>
				<ul class="dl">
					<li class="dt">订单服务</li>
					<li><a href="//help.ymatou.com/help_07.html" target="_blank"
						rel="nofollow">订单状态说明</a></li>
					<li><a href="//help.ymatou.com/help_01_1.html" target="_blank"
						rel="nofollow">自动取消订单</a></li>
					<li><a href="//help.ymatou.com/help_07.html" target="_blank"
						rel="nofollow">上传身份证</a></li>
				</ul>
				<ul class="dl">
					<li class="dt">支付与配送</li>
					<li><a href="//help.ymatou.com/help_06.html" target="_blank"
						rel="nofollow">支付方式</a></li>
					<li><a href="//help.ymatou.com/help_16.html" target="_blank"
						rel="nofollow">优惠券和红包</a></li>
					<li><a href="//help.ymatou.com/help_06.html" target="_blank"
						rel="nofollow">如何提现</a></li>
					<li><a href="//help.ymatou.com/help_07.html" target="_blank"
						rel="nofollow">配送方式</a></li>
				</ul>
				<ul class="dl">
					<li class="dt">售后服务</li>
					<li><a href="//help.ymatou.com/help_15.html" target="_blank">消费维权</a></li>
					<li><a href="//help.ymatou.com/help_16.html" target="_blank">纠纷处理规则</a></li>
					<li><a href="//help.ymatou.com/help_17.html" target="_blank">退货规则</a></li>
				</ul>
				<div class="dl last">
					<div class="dt">官方微信</div>
					<p>
						<img src="//static.ymatou.com/content/images/weixin2d-new.png"
							class="img">
					</p>
					<span class="weibobox"> <a
						href="http://weibo.com/ymatou2011" target="_blank">关注微博</a> <a
						href="http://weibo.com/ymatou2011" target="_blank"><span
							class="ico-weibo-png"></span></a>
					</span>
				</div>
			</div>
			<div class="matou-intro">
				<a href="//about.ymatou.com/ymtglobal.html" target="_blank"
					rel="nofollow">关于洋码头</a> <a href="//about.ymatou.com/zhaopin.html"
					target="_blank" rel="nofollow">码头招聘</a> <a
					href="/sellerhome/sitemap/index" target="_blank">网站地图</a> <a
					href="//help.ymatou.com/index.html" target="_blank" rel="nofollow">所有帮助</a>
				<a href="//staticontent.ymatou.com/html/merchant/index.html"
					target="_blank" rel="nofollow">海外招商中心</a> <a
					href="//staticontent.ymatou.com/html/ms_rule/" target="_blank"
					rel="nofollow">扫货买手规则</a> <a class="last"
					href="//help.ymatou.com/qa_02.html" target="_blank" rel="nofollow">卖家常见问题</a>
			</div>
			<div class="copyright" style="margin: 20px; text-align: center">©
				2014－2020 ymatou.hk 版权所有</div>
		</div>
	</div>


	<script>
    (function (w, d, s, l, i, o) {
        w['YmatouAnalyticsobject'] = o;
        w[o] = w[o] || function () {
                    (w[o].q = w[o].q || []).push(arguments)
                }

        w[l] = w[l] || [];
        w[l].push({
            'gtm.start': new Date().getTime(),
            event: 'gtm.js'
        });
        var f = d.getElementsByTagName(s)[0],
                j = d.createElement(s),
                dl = l != 'dataLayer' ? '&l=' + l : '';
        j.async = true;
        j.src = '//www.googletagmanager.com/gtm.js?id=' + i + dl;
        f.parentNode.insertBefore(j, f);
    })(window, document, 'script', 'dataLayer', 'GTM-5PJKS5', '_dc_');
</script>
	<script type="text/javascript" id="">"undefined"==typeof Array.prototype.forEach&&(Array.prototype.forEach=function(a){for(var b=0;b<this.length;b++)a(this[b],b)});(function(a,b,d,f,c,e){a.YmatouAnalyticsobject=a.YmatouAnalyticsobject||d;a[d]=a[d]||function(){(a[d].q=a[d].q||[]).push(arguments)};c=document.createElement("script");e=document.getElementsByTagName("script")[0];c.async=1;b=b.replace(".js",f+".js");c.src=b;e.parentNode.insertBefore(c,e)})(window,"//s1.ymatou.com/bpm/build/gtm/1.3.6/detection.js","_dc_","");
(function(a,b,d,f,c,e,g){a.GoogleAnalyticsObject=c;a[c]=a[c]||function(){(a[c].q=a[c].q||[]).push(arguments)};a[c].l=1*new Date;e=b.createElement(d);g=b.getElementsByTagName(d)[0];e.async=1;e.src=f;g.parentNode.insertBefore(e,g)})(window,document,"script","//www.google-analytics.com/analytics.js","ga");ga("create","UA-18618809-1",{cookieDomain:"ymatou.com"});ga("send","pageview");_dc_("fillCommon",{appid:"4"});_dc_("on","load_more_fn",function(a){console.log(a)});var _vds=_vds||[];window._vds=_vds;
(function(){_vds.push(["setAccountId","b8dc04e0cdcb2603"]);var a=document.createElement("script");a.type="text/javascript";a.async=!0;a.src=("https:"==document.location.protocol?"https://":"http://")+"dn-growing.qbox.me/vds.js";var b=document.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)})();</script>
	<script type="text/javascript" id=""
		src="//s1.ymatou.com/bpm/build/gtm/1.3.3/dtk.js"></script>

	<script type="text/javascript" id=""
		src="//s1.ymatou.com/bpm/build/gtm/1.3.4/evt_common.js"></script>
		<script type="text/javascript">
function updateItem(theorder_id,theorder_state) {
    var i;
/*     theorder_state = theorder_state;
    theorder_state = theorder_state; */
    $.ajax({
        type: "post",
        url: ctx + "/my/updateorder",
        data: {
        	theorder_id: theorder_id,
        	theorder_state: theorder_state,
        },
        success: function (result) {
            if (result.code == 0) {
            	alert("成功了");
                parent.location.href = ctx + '/my/MyTheorder2';
            } else if (result.code != 0) {
                alert(result.msg);
            }
        },
        error: function () {
            alert("获取数据失败！");
        }
    });
}
</script>
</body>
</html>